package com.xuzhen.interceptor.two;

public class Intercepter {  
	 private int id;  
	 
	 public Intercepter(int id){  
		 this.id=id;  
	 }  
	   
	 public String intercept(ActionInvocation actionInvocation) throws Exception {  
		  System.out.println("run the intercept()"+this.id);  
		  String resultCode=actionInvocation.invoke();  
		  System.out.println("after the action run,run the intercept continue  "+this.id);  
		  return resultCode;  
	 }  
	   
	}  